package org.gis.mapserver.base;

import org.gis.dbtools.UniqueID;
import org.gis.utils.dps.DynamicPropertySetBaseMap;

/**
 *
 * @author gus
 */
public class ConfigBean extends DynamicPropertySetBaseMap  implements  InjectionValidable
{
    private final static long serialVersionUID = -924122837634509813L;
    
    private transient UniqueID  uid = UniqueID.Empty;

    public UniqueID getUid()
    {
        return uid;
    }

    public void setUid( UniqueID uid )
    {
        this.uid = uid;
    }

    public void afterInitialize() throws Exception
    {
        if(uid.isNonValue())
        {
            throw new Exception("using not initilazing bean");
        }
    }
}
